package com.scpii.universal.pns.entity;

/**
 * Comments entity. @author MyEclipse Persistence Tools
 */

public class Comments implements java.io.Serializable {

	// Fields

	private Long id;
	private String content;
	private Long targetId;
	private Long parentId;
	private String createDt;
	private Long createBy;
	private String updateDt;
	private Long updateBy;
	private Short commentType;

	private String userName;
	private Integer commentCount;

	// Constructors

	/** default constructor */
	public Comments() {
	}

	/** minimal constructor */
	public Comments(String content, Long targetId, Long parentId) {
		this.content = content;
		this.targetId = targetId;
		this.parentId = parentId;
	}

	
	
	public Comments(Long id, String content,  String createDt,Long parentId,
			Long createBy, String userName,Long targetId) {
		super();
		this.id = id;
		this.content = content;
		this.parentId = parentId;
		this.createDt = createDt;
		this.createBy = createBy;
		this.userName = userName;
		this.targetId = targetId;
	}

	/** full constructor */
	public Comments(String content, Long targetId, Long parentId,
			String createDt, Long createBy, String updateDt, Long updateBy,
			Short commentType) {
		this.content = content;
		this.targetId = targetId;
		this.parentId = parentId;
		this.createDt = createDt;
		this.createBy = createBy;
		this.updateDt = updateDt;
		this.updateBy = updateBy;
		this.commentType = commentType;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getTargetId() {
		return this.targetId;
	}

	public void setTargetId(Long targetId) {
		this.targetId = targetId;
	}

	public Long getParentId() {
		return this.parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getCreateDt() {
		return this.createDt;
	}

	public void setCreateDt(String createDt) {
		this.createDt = createDt;
	}

	public Long getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public String getUpdateDt() {
		return this.updateDt;
	}

	public void setUpdateDt(String updateDt) {
		this.updateDt = updateDt;
	}

	public Long getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Short getCommentType() {
		return this.commentType;
	}

	public void setCommentType(Short commentType) {
		this.commentType = commentType;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

}